#ifndef __ALARM_TYPE_H
#define __ALARM_TYPE_H
/**
 * @file alarm_type.h
 * @author morris (a_morris@163.com)
 * @brief
 * @version 0.1
 * @date 2022-04-08
 *
 * @copyright Copyright (c) 2022
 *
 */
#include <stdint.h>

#include "stdio.h"

//typedef union
//{
//  struct
//  {
//    uint8_t alarm : 1;
//    uint8_t pre_alarm : 1;
//    uint8_t power_24_fault : 1;

//    uint8_t in_oc : 1;
//    uint8_t in_sc : 1;
//    uint8_t out_oc : 1;
//    uint8_t out_sc : 1;
//    uint8_t : 1; // reserve, set 1 claer alarm
//  };
//  uint8_t value;
//} sys_alarm_type_t;


#endif //__ALARM_TYPE_H
